package com.czk.domain;

/**
 * 消息传输协议
 *
 * @Author:ChenZhangKun
 * @Date: 2021/4/25 10:57
 */
public class ServerMsgProtocol {
    /**
     * 消息传输类型
     * 1 自发，2 群发
     */
    private int type;
    /**
     * 通信管道id
     * 实际生产映射成用户名
     */
    private String channelId;
    /**
     * 用户头像
     */
    private String userHeadMsg;
    /**
     * 传输的消息
     */
    private String msgInfo;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getUserHeadMsg() {
        return userHeadMsg;
    }

    public void setUserHeadMsg(String userHeadMsg) {
        this.userHeadMsg = userHeadMsg;
    }

    public String getMsgInfo() {
        return msgInfo;
    }

    public void setMsgInfo(String msgInfo) {
        this.msgInfo = msgInfo;
    }
}
